package com.base.timer;

import com.base.controller.api.RedisCacheManager;
import com.base.po.param.NetState;
import com.base.service.SubscribersService;
import com.base.service.UsersService;
import lombok.extern.log4j.Log4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

@Log4j
@Controller
@RequestMapping("insertUserTORedis")
public class UsersSetRedis {
    @Autowired
    private RedisCacheManager redisCacheManager;
    @Autowired
    private UsersService usersService;
    @Autowired
    private SubscribersService subscribersService;

    /**
     *  @Date: 2020/4/30 14:55
     *  @Description:
     *  将所有的用户信息插入redis
     */
    @RequestMapping("/insertRedis")
    public @ResponseBody
    NetState getGasDetail(HttpServletRequest httpServletRequest) {
        NetState net=new NetState();
        return net;
    }


    }
